CREATE TABLE [dbo].[tb_CausasAltas]
(
[idCausaAlta] [int] NOT NULL IDENTITY(1, 1),
[Descripcion] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Mnemo] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ChequeaInCompatibilidad] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_tb_CausasAltas_ChequeaInCompatibilidad] DEFAULT ('S'),
[CausaAltaOrigen] [int] NOT NULL,
[PermiteIniciarConLicencia] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_tb_CausasAltas_IdServicioBase] DEFAULT ('N')
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_CausasAltas] ADD CONSTRAINT [PK_tb_CausasAltas] PRIMARY KEY NONCLUSTERED  ([idCausaAlta]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[tb_CausasAltas] TO [GestionInstitucional]
GRANT SELECT ON  [dbo].[tb_CausasAltas] TO [Informatica]
GRANT SELECT ON  [dbo].[tb_CausasAltas] TO [PersonalDocente]
GRANT SELECT ON  [dbo].[tb_CausasAltas] TO [PersonalDocenteDireccion]
GRANT SELECT ON  [dbo].[tb_CausasAltas] TO [pregase]
GO
